package com.riant.test7;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<Integer> {
    @Override
    public Integer call() throws Exception {
        System.out.println("当前线程callable名："+Thread.currentThread().getName());
        return 1;
    }
}
